// 原来的配置文件 Zmy
// import { createApp } from 'vue'
// import App from './App.vue'

// createApp(App).mount('#app')


// demo 4-1
// import { createApp } from 'vue'
// import './style.css'
// import App from './App.vue'
// import CountCom from "./components/CountCom.vue";

// const app=createApp(App);
// //使用component()方法注册全局组件，参数1是注册的组件名称，参数2是注册的组件对象CountCom
// app.component("count-com",CountCom);
// app.mount('#app')

// 局部和全局注册组件
// import { createApp } from 'vue'
// import './style.css'//1
// //  import App from "./components/OptionsAPI.vue";//2
// import App from "./components/CompositionAPI.vue";//2

// createApp(App).mount('#app')
// // app.mount('#app')//5




// demo4-5
import { createApp } from "vue";
import "./style.css";
import App from "./App.vue";
// 如需使用HelloCom2，可注册为全局组件（可选）
// import HelloCom2 from "./components/HelloCom2.vue";
// app.component("hello-com2", HelloCom2);
const app = createApp(App);
app.mount("#app"); // 确保HTML中有id为"app"的元素
